package com.xzj.admin.resource.analysis.controller;

import com.xzj.admin.resource.analysis.domain.vo.ScriptReqVo;
import com.xzj.admin.resource.analysis.handle.groovy.GroovyScriptHandle;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: xzj-admin
 * @ClassName: GroovyScriptController
 * @description: 控制层
 * @author: XiaZunJun
 * @create: 2024-10-28 17:42
 */
@RestController
public class GroovyScriptController {

    @Resource
    private GroovyScriptHandle groovyScriptHandle;

    @PostMapping("/testConvertId")
    public void testConvertId(@RequestBody ScriptReqVo scriptReqVo){
        groovyScriptHandle.testConvertId(scriptReqVo);
    }

}
